package com.sun.mychat.config.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import com.sun.mychat.config.pojo.Record;
import com.sun.mychat.config.pojo.User;
import org.springframework.stereotype.Component;

import java.util.List;

public interface RecordMapper extends BaseMapper<Record> {

    List<Record> list(User user);

    int add(Record record);
}
